-- GENERATED SPELL FOR [Tempus Wyrm] --


function spell0_32180(pUnit, Event) --@Time Shock,n/a--
pUnit:FullCastSpellOnTarget(60076,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32180', 643, 1)
end

function Sorts_32180(pUnit, Event)
local choix_sorts_32180 = math.random(0, 0)
if choix_sorts_32180 == 0 then
pUnit:RegisterEvent('spell0_32180', 1, 1)
end
end

function mob32180_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32180', math.random(1500, 3000), 1)
end

function mob32180_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32180_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32180_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32180, 1, 'mob32180_Action')
RegisterUnitEvent(32180, 2, 'mob32180_Leave')
RegisterUnitEvent(32180, 3, 'mob32180_Kill')
RegisterUnitEvent(32180, 4, 'mob32180_Die')
